﻿#region References
using System;
#endregion

namespace Autumoon.LiveWriterPlugin.Demo
{
    public static class ContentProcessor
    {
        #region Fields and Properties
        /// <summary>
        /// The processed content.
        /// </summary>
        public static string ProcessedContent { get; private set; }
        #endregion

        #region Constructors
        #endregion

        #region Public Methods
        /// <summary>
        /// The process function.
        /// </summary>
        /// <param name="originalContent">Original content which needs to be processed.</param>
        public static void Process(string originalContent)
        {
            ProcessedContent = (!String.IsNullOrEmpty(originalContent)
                ? String.Format("<p>{0}<br/><hr>-- Insert by <b>Autumoon Lab</b>.</p>", originalContent.ToUpper())
                : String.Empty);
        }
        #endregion

        #region Internal Methods
        #endregion

        #region Protected Methods
        #endregion

        #region Delegates and Events
        #endregion

        #region Private Methods
        #endregion
    }
}